Skip to content

Add support for guzzlehttp/psr7 3.x (Guzzle 8 compatibility) - #1046

Open
HecFranco wants to merge 1 commit into
getsentry:masterfrom
nowo-tech:feature/guzzle-8-support
Open

Add support for guzzlehttp/psr7 3.x (Guzzle 8 compatibility)#1046
HecFranco wants to merge 1 commit into
getsentry:masterfrom
nowo-tech:feature/guzzle-8-support

Conversation

@HecFranco

Copy link
Copy Markdown

Summary

  • Widen the guzzlehttp/psr7 Composer constraint from ^2.1.1 to ^2.1.1|^3.0.
  • Allow sentry/sentry-symfony to be installed alongside Guzzle 8, which depends on guzzlehttp/psr7 3.x.
  • Keep backward compatibility with existing guzzlehttp/psr7 2.x installations.

Motivation

Projects upgrading to Guzzle 8 cannot currently install this bundle because of the hard guzzlehttp/psr7 ^2.1.1 requirement. Expanding the constraint unblocks that upgrade path without changing runtime behavior for existing consumers.

Test plan

  • Confirm composer update succeeds with guzzlehttp/psr7 2.x.
  • Confirm composer update succeeds with guzzlehttp/psr7 3.x / Guzzle 8.
  • Run the existing test suite / CI matrix against this branch.

Made with Cursor

Widen the PSR-7 constraint so the bundle can be installed alongside Guzzle 8.
@HecFranco

Copy link
Copy Markdown
Author

Thank you for taking the time to review this contribution.

This change simply widens the guzzlehttp/psr7 constraint so the bundle can be installed alongside Guzzle 8, while remaining compatible with 2.x. I would greatly appreciate your approval when you have a moment.

Happy to address any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant